package com.wyz.saas.app.mvvm.main

import android.os.Bundle
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.atom.module.mvvm.base.AbstractViewModelFactory
import com.atom.module.mvvm.base.AbstractBaseActivity
import com.atom.module.mvvm.base.EmptyModel
import com.wyz.saas.app.BR
import com.wyz.saas.app.R
import com.wyz.saas.app.databinding.ActivityTestBinding
import com.wyz.saas.app.mvvm.AppViewModelFactory
import com.wyz.saas.common.base.AbstractApiActivity

class TestActivity : AbstractApiActivity<ActivityTestBinding, TestViewModel>() {

    override fun initContentView(savedInstanceState: Bundle?): Int = R.layout.activity_test

    override fun initViewModel(): TestViewModel = ViewModelProvider(this, AppViewModelFactory).get(TestViewModel::class.java)
}